﻿using HuiLian.Model.Models.Base;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace HuiLian.Model.Models
{
    [Table("Order")]
    public class Order : ModelBase
    {
        private string id;
        private string createTime;
        private double orderMoney;
        private double actualModey;
        private string orderStatus;
        private string sendStatus;
        private string username;
        private string telphone;
        [Key]
        public string Id { get { return id; } set { id = value; OnPropertyChanged("Id"); } }
        public string CreateTime { get { return createTime; } set { createTime = value; OnPropertyChanged("CreateTime"); } }
        public double OrderMoney { get { return orderMoney; } set { orderMoney = value; OnPropertyChanged("OrderMoney"); } }
        public double ActualModey { get { return actualModey; } set { actualModey = value; OnPropertyChanged("ActualModey"); } }
        public string OrderStatus { get { return orderStatus; } set { orderStatus = value; OnPropertyChanged("OrderStatus"); } }
        public string SendStatus { get { return sendStatus; } set { sendStatus = value; OnPropertyChanged("SendStatus"); } }
        public string Username { get { return username; } set { username = value; OnPropertyChanged("Username"); } }
        public string Telphone { get { return telphone; } set { telphone = value; OnPropertyChanged("Telphone"); } }
    }
}
